import top.mcwebsite.playandroid.business.articles.api.model.ArticleModel
import top.mcwebsite.playandroid.lib.mvi.base.IIntent
import top.mcwebsite.playandroid.lib.mvi.base.IUiEffect
import top.mcwebsite.playandroid.lib.mvi.base.IUiState

data class ArticleListUiState(
    val message: String = ""
) : IUiState

sealed interface ArticleListIntent : IIntent {
    data class GoArticleDetailPageIntent(val articleModel: ArticleModel) : ArticleListIntent
}

sealed interface ArticleListUiEffect : IUiEffect {
    data class GoArticleDetailPageUiEffect(val articleModel: ArticleModel) : ArticleListUiEffect
}